package masterjava.common.convertion;

import masterjava.common.shared.Convertible;

/**
 * User: gkislin
 * Date: 7/26/11
 */
public class SimpleStringConverter implements Convertible<String> {

    private static final SimpleStringConverter INSTANCE = new SimpleStringConverter();

    private SimpleStringConverter() {
    }

    public static SimpleStringConverter get() {
        return INSTANCE;
    }

    @Override
    public String toValue(String value) {
        return value;
    }

    @Override
    public String toString(String value) {
        return value;
    }
}
